package com.smartum.mpr.model;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;

public class Comment extends Identify {

	private static final long serialVersionUID = 1L;

	@JsonProperty("comment")
	private String commentText;
	@JsonProperty("comment_user")
	private User user;
	@JsonIgnore
	private Image image;

	public Image getImage() {
		return image;
	}

	public void setImage(Image image) {
		this.image = image;
	}

	public String getCommentText() {
		return commentText;
	}

	public void setCommentText(String commentText) {
		this.commentText = commentText;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@JsonProperty("comment_id")
	@Override
	public Long getId() {
		return super.getId();
	}

	@JsonProperty("comment_id")
	@Override
	public void setId(Long id) {
		super.setId(id);
	}

}
